package com.jdcjk.project.main.view;

import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;

import com.jdcjk.R;
import com.jdcjk.base.view.BaseFragment;

/**
 * Created by dong on 2016/12/9.
 * 车辆列表
 */
public class CarMoreFragment extends BaseFragment {
    //退出登录Button
    private Button exitBtn;
    //我的账号RelativeLayout
    private RelativeLayout myAccount_relativeLayout;
    //修改密码RelativeLayout
    private RelativeLayout updataPwd_relativeLayout;
    //关于我们RelativeLayout
    private RelativeLayout aboutUs_relativeLayout;
    //其他设置RelativeLayout
    private RelativeLayout carMoreOtherSetting_relativeLayout;
    //位置上报RelativeLayout
    private RelativeLayout carMorePositionReportSetting_relativeLayout;

    @Override
    public int getLayoutId() {
        return R.layout.fragment_car_more;
    }

    @Override
    public void initContentView(View viewContent) {
        exitBtn = (Button) viewContent.findViewById(R.id.fragment_car_more_exit_btn);
        exitBtn.setOnClickListener(this);
        myAccount_relativeLayout = (RelativeLayout) viewContent.findViewById(R.id.my_account_rl);
        myAccount_relativeLayout.setOnClickListener(this);
        aboutUs_relativeLayout = (RelativeLayout) viewContent.findViewById(R.id.about_us_rl);
        aboutUs_relativeLayout.setOnClickListener(this);
        updataPwd_relativeLayout = (RelativeLayout) viewContent.findViewById(R.id.updata_pwd_rl);
        updataPwd_relativeLayout.setOnClickListener(this);
        carMoreOtherSetting_relativeLayout = (RelativeLayout) viewContent.findViewById(R.id.car_more_other_setting_rl);
        carMoreOtherSetting_relativeLayout.setOnClickListener(this);
        carMorePositionReportSetting_relativeLayout = (RelativeLayout) viewContent.findViewById(R.id.car_more_position_report_setting_rl);
        carMorePositionReportSetting_relativeLayout.setOnClickListener(this);
    }

}
